package gwtI18nEditor.widgets;

import java.awt.event.ActionListener;

import javax.swing.JToolBar;

@SuppressWarnings("serial")
public class MainToolbar extends JToolBar {
	
	public MainToolbar(ActionListener actionListener) {
		super();
		setFloatable(false);
		setRollover (true);
		add(new IconButton("open_project.png", "Open Project", actionListener, "Open"));
		add(new IconButton("refresh_project.png", "Refresh Project", actionListener, "Refresh"));
		addSeparator();
		add(new IconButton("set_languages.png", "Select Languages", actionListener, "Languages"));
		addSeparator();
		add(new IconButton("add_message.png", "Add Message to Current Message File", actionListener, "Add"));
		add(new IconButton("save_message_file.png", "Save Current Message File", actionListener, "Save"));
	}
}
